package com.ma.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "app")
public class AppProperties {

    @ConfigurationProperties(prefix = "app.service")
    public record ServiceProperties(String name, String url) { }

    @ConfigurationProperties(prefix = "app.value")
    public record ValueProperties(String myValue) { }
}
